package com.zhong.demo;


import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.reactivex.baselib.base.BaseActivity;

/**
 * 项目名:    BaseFrame
 * 包  名:    com.zhong.demo
 * 文件名:    LoginActivity
 * 时  间:    2018/6/19 on 22:09
 * 描  述:    TODO
 *
 * @author: zjb
 */
public class LoginActivity extends BaseActivity<LoginPresenter> implements LoginView {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        Button btnLogin = findViewById(R.id.btn_login);
        btnLogin.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    @Override
    public LoginPresenter initPresenter() {
        return new LoginPresenter(this);
    }
}
